package com.phantasy.proto
{
	import com.phantasy.Message;
	
	import flash.net.registerClassAlias;
	
	public class p_map_role extends Message
	{
		public var role_id:Number = 0;
		public var role_name:String = "";
		public var faction_id:int = 0;
		public var cur_title:String = "";
		public var family_id:Number = 0;
		public var family_name:String = "";
		public var sex:int = 0;
		public var map_id:int = 0;
		public var map_name:int = 0;
		public var pos:p_pos = null;
		public var last_walk_path:p_walk_path = null;
		public var last_key_path:p_pos = null;
		public var hp:int = 0;
		public var max_hp:int = 0;
		public var mp:int = 0;
		public var max_mp:int = 0;
		public var skin:p_skin = null;
		public var move_speed:int = 0;
		public var team_id:int = 0;
		public var is_leader:Boolean = true;
		public var level:int = 0;
		public var pk_point:int = 0;
		public var state:int = 0;
		public var gray_name:Boolean = true;
		public var state_buffs:Array;
		public var show_cloth:Boolean = true;
		public var cur_title_color:String = "ffffff";
		public var equip_ring_color:int = 0;
		public var show_equip_ring:Boolean = true;
		public var vip_level:int = 0;
		public var is_first_vip:Boolean = false;
		public var mount:int = 0;
		public var rage:int = 0;
		public var map_camp:int = 1;
		public var soul_monster:int = 0;
		public var offline_time:int = 0;
		public var category:int = 0;
		public var battle_camp:int = 0;
		
		public function p_map_role()
		{
			this.state_buffs = new Array();
			super();
			registerClassAlias("p.p_map_role", p_map_role);
		}
		
		override public function getMethodName():String
		{
			return ("map_");
		}
		
		override public function getClassName():String
		{
			return ("p_map_role");
		}
		
		override public function getAttributes():Array
		{
			return ([["role_id", "Number", "null"], ["role_name", "String", "null"], ["faction_id", "int", "null"], ["cur_title", "String", "null"], ["family_id", "Number", "null"], ["family_name", "String", "null"], ["sex", "int", "null"], ["map_id", "int", "null"], ["map_name", "int", "null"], ["pos", "p_pos", "null"], ["last_walk_path", "p_walk_path", "null"], ["last_key_path", "p_pos", "null"], ["hp", "int", "null"], ["max_hp", "int", "null"], ["mp", "int", "null"], ["max_mp", "int", "null"], ["skin", "p_skin", "null"], ["move_speed", "int", "null"], ["team_id", "int", "null"], ["is_leader", "Boolean", "null"], ["level", "int", "null"], ["pk_point", "int", "null"], ["state", "int", "null"], ["gray_name", "Boolean", "null"], ["state_buffs", "array", "p_actor_buf"], ["show_cloth", "Boolean", "null"], ["cur_title_color", "String", "null"], ["equip_ring_color", "int", "null"], ["show_equip_ring", "Boolean", "null"], ["vip_level", "int", "null"], ["is_first_vip", "Boolean", "null"], ["mount", "int", "null"], ["rage", "int", "null"], ["map_camp", "int", "null"], ["soul_monster", "int", "null"], ["offline_time", "int", "null"], ["category", "int", "null"], ["battle_camp", "int", "null"]]);
		}

	}
}